Ext.define('OrderConvert.view.order.PdfGridModel', {
    extend: 'Ext.app.ViewModel',
    alias: 'viewmodel.order-pdfgrid',
    data: {
        name: 'OrderConvert'
    },

    stores : {
        store : {
            fields : [
               "id","orderName","orderCode","fileUrl","sheetId","xlsUrl","deleted","fileName","fileType","isConvert","createTime","createBy","modifyBy","modifyTime"
            ],

            proxy: {
                type: 'ajax',
                url: OrderConvertUrl.constant.serverUrl + 'order/pdfList',
                reader: {
                    totalProperty:"totalRow",
                    type: 'json',
                    rootProperty: 'list'
                }
            },
            autoLoad: true
        }
    }


});
